package com.after.saas.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author hjchen
 * @Classname NoRepeatSubmit
 * @Description 防止重复提交标记注解
 * @Date 2021/5/18 11:28
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface NoRepeatSubmit {

    /**
     * timeout – the key expiration timeout
     */
    long timeout() default 3;
}